package icu.cocoon.game.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import icu.cocoon.game.entity.Proverb;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Cocoon
 * @since 2020-07-07
 */
@Mapper
public interface ProverbMapper extends BaseMapper<Proverb> {

  List<Proverb> selectByWord(String word);

  List<Proverb> selectByPinyin(String pinyin);
}
